adding test for pwm, not yet working