Moves main queryRecords test into LIST integration test.