How to detect whether a smart capacitor is good or bad