Correct exit code assertion