tests fix for travis