tightening up the checks in the controller tests