fix tests in travis