Updating tests and adding a small bugfix.
Merge pull request #18 from brandonsavage/rabbitmq-tests

Updating tests and adding a small bugfix.