Capacitor DC charging test