[TESTS] Fix NPE in FreqTermsEnumTests.