Whenever it shall appear to the satisfaction of the judge, by affidavit of a party interested in said adjustment or arbitration, or by other competent testimony, that any person duly subpoenaed to appear as required by subpoena, shall have refused or neglected without just cause to attend as a witness in conformity to the subpoena, and the testimony of such witnesses is material, as the deponent verily believes, the judge shall have power to issue an attachment to compel the attendance of the witness, and the witness shall be liable for the cost of such attachment for the service of the same, which costs may be recovered in an action of assumpsit at the suit of the party injured by such neglect or refusal, before any court having competent jurisdiction in like cases, and shall moreover be liable to the injured party in damages.