tweak test for node v0.11+