fix(test): replace integration test with Rust unit tests
The integration test with node_modules/my-lib/dist/index.js failed on
CI because `dist` is globally gitignored. Replacing with Rust unit
tests for `short_name_from_identifier` which directly cover the bug
(node_modules nested paths) and edge cases (scoped packages, flat
node_modules, non-index files).