Fault or defect detection