Minor change in array testing methodology for efficiency