Added study seperation, test query summary.