On the return day of an application for a hearing on and approval of an intermediate or final account the testamentary trustee shall file an affidavit proving the timely delivery to the known beneficiaries of the documents required by this chapter or by court order. The procedure as to filing of objections, examination of the trustee and other witnesses, inspection of the trust property, adjournments, reference to a master or other representative of the court, amendment of the account, and similar matters, shall be in the discretion of the court. The court shall, as soon as practicable, act upon the account, and discharge the trustee if the account is an approved distribution account.