try to make these tests more reliable