Fix travis scripts and give the test enough time to pass