fixing tests in travis