How to accurately measure leakage current - Interference from power supply ripple