3 tests for the controller