Fixed bug in pmcmc_test