Test for HeartbeatThreadException