Adding a PWM test feature