safety fix in test to get more reproducible results