Rabbitmq unit tests fixes