Fix user abort behave in test

Now the pwm ouput return to the last value before test (useful and safer when testing ESCs).