Statutes have been passed in the several states requiring that the persons in whose custody a will and testament is left shall, upon learning or being advised of the death of the maker of the will, deliver the same to the proper court. These statutes usually fix a penalty for failure to comply with these conditions.