1 verses of the World English Bible have both "testimony" and "written".
John 8:17 It’s also written in your law that the testimony of two people is valid.
In other translations: KJV ASV YLT Darby Webster DRC