update test to work around potential timing issue