Test int exit code