fix node v0.6.x test failures