test prints 'done' when done, which tests the setImmediate in index.js