Add naive bayes SQL test.