fix heartbeat test callback