All schedulers: Improve test for AMQP connection