fixed bugs and added the RabbitMQ Publisher Test