Added new rspec tests