fix tests in node 0.8