I learned in my human sexuality class that the words "testes" and "testify" come from the same greek root word.

Back in ancient greece, when people would go to court, the balif would reach under the guy's toga and grab his ummm... crotch. If the person lied in court, he would be castrated.