Fix #124 test for compatibility with node v0.8.x