make tests independent of item order