start of controller tests