when test are in success exit with 0 instead of 1

res.wasSuccessful() is True when tests succeed but a program which exit
with success must return 0