245 Renew and added test for naivebayes