Added unit test that makes sure the unrecognised command callback function is not called if the command is recognised.