Fixing tests for node 0.10