Added a test for command line