fixed command line unit test