Add SessionAttributesTest unit test