upgraded the DBN unit test so that it covers more cases for parameter averaging