modified test for defect analysis and pyramid view