Added some basic unit testing for tfidf.py