add catastrophic failure check to tests