Testing of electric apparatus, lines or components, for short-circuits, discontinuities, leakage of current , or incorrect line connection