Fix tests on Node 0.8