Tests on JAGS