Added test for querytextindex.