fix some tests for travis