In-line continuity test for manufacturing hairpins