added a working test bench for pwm module