fix test timing