Fix test: do not depend on fixed mref order