Added command line unit test and got it to run; more testing is needed