Upon the hearing of such petition, any person may contest the granting of same upon giving security for costs of such contest. All evidence touching such petition shall be taken in such manner as may be directed by the court.
Ala. Code § 26-13-4 (1975)