Fix user abort behave in test

Now the pwm ouput return to the last value before test (useful and safer when testing ESCs).
Merge pull request #526 from Thiago0B/master

Fix user abort behave in test