d331fdf
refactory CLI unittests including: - introduce new CliTestCase class - implement useful assert functions in CliTestCase