fixed tests for chi-squared with Bayesian variance if none defined