Fix travis build: do cd tests before script