Adds test for session timeout.