Tests qmqp