Fix unittests for new SessionManger