rj mcmc test and fixes