Fix test for Travis.