[SessionManagerComponent] added heartbeat dependecy; added more tests; refactored component;