tests/runner.js: Log $ function and use process.nextTick