In an opposed test where both parties fail, the one who rolls lowest, wins the test, the rulebook says. I presume that this is because they were closer to succeeding and "failed less" by virtue of their lower roll. It makes perfect sense to me.
However, I would also expect this to be...