Updated PWM test to accurate change PWM test.