The affidavit of any subscribing witness to a will, made before and certified by any officer in the state competent to administer oaths, shall be received as a substitute for the personal attendance of the affiant to prove the will where there is no contest about it.