Add more tests for CommandlineIO