try to make this test's timing better behaved