adds test cases for sessions class