Fix QueryTest on macOS (and hopefully Windows)
This test current fails on macOS (and Windows). It turns out this is happening because the mockhandler wasn't being loaded.
This test current fails on macOS (and Windows). It turns out this is happening because the mockhandler wasn't being loaded.