Add junit coverage to CmdLine class