Corrected issues with the SessionTypes and added a unit test for them.