Unit test for TFIDF