Add TestNewHeartbeat()