added command line tests