Add tests for CommandLine