Adding tests for tfidf.