Fix a racy test