Add a test for the error case that doesn't have 'command' parameter.