To "testify" was based on men in the Roman court swearing to a statement made by swearing on their testicles.
Source:
Useless Facts
Nothing here — try turning on more categories above.