Fixed heartbeat test.