make tests less fragile