Added query hydration test for record collection