fixed TabularCPD tests