Added query hydration tests