Inhance unit test of CLI .