added test coverage for bugs 1122001 and 1145835 concerned with
asserting exit code when registering with --consumerid