adding sessionManager and tests to manage event subscriptions