Fixed failing test on node v0.10.