making tests more stable and reliable