Fix travis tests

Do these need to be instance variables?