modified test to match heartbeat argument order