Added heartbeat test