fixed broken controller tests