(1) Any such fine, if incurred, and any subscription or other sum of money which any member or other person may have agreed to pay to the corporation for his subscription to the funds of the corporation for any certain time, or for the loan of any book or instrument, or for the right of entry to the rooms of the corporation, or for any other privilege or advantage afforded to him by the corporation, may be recovered by the corporation, by action in any Court of competent jurisdiction, on proof of the signature of the defendant to some writing by which he has undertaken to pay such subscription or to obey such bylaw, and of the breach of such undertaking, which breach, as regards a promise to pay any sum of money, shall be presumed until the contrary is shown, and as regards the contravention of any such bylaw may be proved by the oath of any one credible witness.