SessionManager unit tests