Added automatic command line tests.