made tests be less dependent on sort order