Failing test in Node.js 0.10 for the nextTick issue.
Prefer `setImmediate` to `nextTick`, to fix stack overflows in Node.js 0.10.

Fixes #259, fixes #254.