Test exitcode of unittest scrip