add bayes learn test