Added fix for node 0.11.x tests