Fix MCMC unit tests.