Add tests for invalid commands.