Added Test Code For PWM