adding test case for tfidf