Fix tests for Node 0.10