small fix adaboost, implement naive bayes plus tests