added tests for wait_for_qmp