fixed bugs introduced in the test suite with the type changes for TermVectors