Model-Based and Graph-Based Priors for Group Testing