Make tests pass with Node 0.10.x