correctly dedect the exit code for all suites