update test for querymanager