Sample tests using RSpec

A ruby project should have tests.
RSpec is a popular test framework these days.
I convert samples into tests of rspec.
Please try it.
```
  bundle exec rspec spec
```