Rspec tests added