testing PWM/filter switches