make tests more reliable