node script.mjs results in require.main being undefined. I'm addressing this within the next version of tap at tapjs/libtap#21. A bit ugly but I'm using process.argv[1] as long as we're not in REPL and we're not evaluating with any form of node -p or node -e.