Ensure require.main === module in workers

Fixes #9
nitpick: `supervisor.stop(assert.end)` should work.