test: improve internal/worker/io.js coverage
This improves a test coverage in internal/worker/io.js
ref: https://coverage.nodejs.org/coverage-6d3920d579a3dc3a/lib/internal/worker/io.js.html#L485
This PR adds a test that validates the BroadcastChannel.ref()
method works correctly.