added test for query-only parsing