Fixing tests on travis.