Added tests for AmqpAdapter