fix tests for latest Node.js 0.11.13