handle errors for completed test phases