Add rudimentary test for queryMany.