act as a witness vs swear up and down

act as a witness

swear up and down

How often have the words act as a witness and swear up and down occurred in a corpus of books? (source: Google Ngram Viewer )