Added a test for duplicate sessions.