11 . If any person shall attest the execution of any will, testament, or codicil to whom or to whose wife or husband any beneficial devise, legacy, estate, interest, gift, disposition, or appointment of or affecting any immovable or movable property (other than and except charges and directions for the payment of any debt or debts) shall be thereby given or made, such devise, legacy, estate, interest, gift, disposition, or appointment shall, so far only as concerns such person attesting the execution of such will, testament, or codicil, or the wife or husband of such person, or any person claiming under such person or wife or husband, be utterly null and void, and such person so attesting shall be admitted as witness to prove the execution, or to prove the validity or invalidity thereof, notwithstanding such devise, legacy, estate, interest, gift, disposition, or appointment mentioned in such will, testament, or codicil. *Gifts to an attesting witness to be void.*