Unit tests for SessionController.
Merge pull request #1 from AlecHFerguson/sessions_unit_tests

Unit tests for SessionController.