controller tests fix