broadcasting test priors at the beginning