Added unit test for ControllerResolver