Fix zeroconf test on Travis, simplifications