Added command line tests