testing of command parsing