improved testing for term scoring