fix: test exit code on extract