Naive Bayes text classifier test.