adds tests for Bayesian model variable elimination