fix travis file and tests