fixing tests for travis