controller tests 3->4 refactoring