making tests more resilient to transient issues