Adds rspec tests.