Added test for session