Fix test failure in HeartbeatMessage.php for 5.4