Added tests for SessionsController.