Add rabbitmq mock and tests