added missing import in test_qapply