made tests more stable