Add tests for the command parsing.