In case bu any will any real or personal estate shall be charged with any debt or debts, and any creditor, or the wife or husband, of any creditor whose debt is si charged, shall attest the execution of such will, such creditor notwithstanding such charge shall be admitted a witness to prove the execution of such will, or to prove the validity or invalidity thereof.