Exit code test