Fixed tests on travis.