Update test for node 0.10 and above