adding Demos/HeartbeatService
adding Demos/Heartbeat
added tests