fixed parse_command(), added some testing functionality for the same