how to test a capacitor with an oscilloscope