test: fix ts-node configuration with ESM and mocha