Make tests compatible with Node 0.8.x. More specific config for Travis.