Export parse_one_cmd
Start creating tests for cmd.c