Added pytests for a method of ThesaurusVectorizer