fix the test timing