Added some rspec tests