Use explicit sample and reference arguments in xform_brain tests