Fix suspected race condition in unit test