Revise test_classifier() to pass a list of words to vectorize() instead of a list of filenames