fix race conditions in tests when updating fixtures