This replaces the existing unit tests for the controller. Functional tests are way better suited for testing the controller.