Ok, so what is the problem? Why not just make it `process.on('exit', function() { assert(passed, '...'); })`?