successful unit test of MCMC sampler