Make testcase more reproducible