Added more tests for cmdline