Independence Testing for Bounded Degree Bayesian Network