add command line tests