Handle the test failures resulting from heartbeats while running unit tests.