making tests more stable for multiple runs