Adapt test for travis