leakage current testing procedure