heartbeat test passed, then write fail handler