Any will of real estate, which shall have been duly proved in the county court of any county in this state, and any such will, the proof of which shall be contested in that court and carried up by appeal or otherwise and the validity of which shall be finally established, may, with the certificate of proof annexed thereto, be recorded in the office of the register of deeds of the county or counties where the real estate lies, in the same manner and with like effect as in case of deeds.