added RMQ debugging check
added tests for PR #74
Merge pull request #74 from GantMan/master

added RMQ debugging check