how to measure a capacitor value testing