Created a test for PWM.