fix test error

- update gem dependency
- add some test