Fixed tests for node.js 0.10