fix failing tests in node v0.11.14.