testing capacitor code