error defect and failure in testing