The court may appoint a referee, who shall be a disinterested person to take testimony and make a report to the court in any such action.