Added extra test to Bayesian networks