fixed tests on node 0.10