Added unit test for SessionController.