created positions test for term query