Added a test for the controller initializer