Refractor transport plus rabbitmq tests