The adverse party, the adverse party's agent or attorney is entitled to reasonable notice of the hearing upon the writ of habeas corpus granted pursuant to § 21-1-808, if in the state, and may interrogate the party in contempt upon the party in contempt's oath, and controvert the truth of the party in contempt's statements by other proof.