fix tests on node 0.6