Added Tests to RabbitPublisher Class