Add queries to integration test.