Fixing unit tests for RabbitMQ Dao