Added test for increment_heartbeat