If the probate be revoked or the will annulled, assessment of costs shall be in the discretion of the court. If the will be sustained, the court may assess the costs against the contestant, including, unless it appears that the contestant acted with probable cause and in good faith, such reasonable attorney's fees as the court may deem proper.