fixes tests in node 0.8.0