Upon any such examinations or hearings on reports the court, or the referee or the accountant or agent whom it may appoint, may require the attendance of witnesses and the production of documents and other evidence and make such inquiry and investigations as are necessary to pass upon the report or other act correctly.
SDCL 21-22-25