Mock the IO's for the tests
Pass the app_parse_command_line current test

Red, green, refactoring cycle in the making, kids.