Fixes failing test in travis.