End-of-line testing