Fix failing test for Node.js v0.11