add tests for command, parserdispatcher