Unit tests for rabbitmq proxy