fix random test since task could be already archived