Try to fix ui tests on travis.