Fixed tests on node 0.11