Capacitor on-site acceptance test