Fixed amqp.receive to reject as the test expects.