Fix QueryClientTestRun