Corrected time usage in a test for Travis