Trying to fix test compatibility with node v0.6