Add test coverage for emmited amqp connection errors in publisher