updated pwm tests