update test to avoid race condition, add note explaining change