Add some tests for the command processor