adding pwm tests