now fix build of tests with amqp.