Fix tests for new pwm writes.