Add tests for ApplicationContoller and SessionsController