remove require from bayes.jl, add test in runtest (not commited yet)