Fix travis build

Travis runs the tests twice - this should fix that.