Add rspec tests.