Capacitor test leakage current