Every person served with a subpoena and tendered the fees of a witness who, without reasonable cause, refuses or neglects to appear, or appearing, refuses to answer upon oath touching the matters referred to in section 76-228, shall forfeit to the party injured one hundred dollars and may also be committed to prison by the officer who issued such subpoena, there to remain without bail until he or she shall submit to answer upon oath as aforesaid.