swear to vs testify to

swear to

testify to

How often have the words swear to and testify to occurred in a corpus of books? (source: Google Ngram Viewer )