Fix tests in node 10