Fix rabbitmq unit test