Added controller tests.