sorting out controller tests