Sg/heartbeat test

Added heartbeat confirmation test, in preparation for future heartbeat changes.