test cases for session-expires