Testing JavaScript with node:test

Using Node.js's built-in test runner and assertion library to avoid third-party test dependencies.