Unittest - Also propagate the correct exit code