add rspec test of core library

add spec.
 - :sushi: testing core library

```bash
$ bundle exec rspec
```