Add test for session events
Adding more link logic