S-48712 changed queryController.tests so it uses supertest.