Added test for heartbeat_timeout