pwm to angle tests