add unit test for rabbitmq_ip