Why the trial by ordeal was actually an effective test of guilt