Fixed test for older node.0.6 compatibility