fixed build error in RabbitMQ test