Fix travis path problems in tests