test: scenario that trevnorris and I had to fix

A memento of a fun six hours. Should work both with the async-listener
polyfill and node PR #6011.