The senate shall have power to compel the attendance of witnesses, and to compel them to testify, and to compel the production of books and papers, and may enforce any order or process by fine and imprisonment to such an extent as may be necessary.
K.S.A. 37-107