Any attesting witness to the execution of any will or codicil, deed, or instrument in writing, and any other competent person, may verify and prove the signing, sealing, publication, or delivery of any such will, codicil, deed, or instrument in writing by such declaration in writing made as aforesaid before such justice, notary, or officer.