PWM: added test for changing the PWM frequencies