controller tests fixed