test priors computation is wrong - debug state