Added tests for tfviewer, tfidfviewer.
Added tests for tfviewer, tfidfviewer.