fix tests on node 0.11.x