bear testimony vs swear to

bear testimony

swear to

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