Use minitest instead of rspec.

- Add spec for setting details.
- Fix Rakefile and spec helper for minitest.