added pwm test script