fix unit test for node 0.10