Wrote test for the AMQP channel