Refactored create_consumer command just a bit so that a unit test could be put in place. Refs SPOT-2118, even though that wasn't actually a bug.