Fix test dependencies on Travis