Query Text Search Tests

Add unit tests for query text search.

33294-query-text-search