A person subpoenaed as provided in this chapter who fails, neglects, or refuses to attend at the time and place where the person's presence is required, or fails, neglects, or refuses to produce the books, papers, or instruments or other evidence designated in the subpoena, or who having attended in response to the subpoena, or having appeared voluntarily, refuses to testify as to any material and proper matter within the power of the senate, house of representatives, or a committee to investigate, upon conviction, is punishable by a fine of not less than $100 nor more than $500, or by imprisonment for not less than 30 days nor more than six months.