added new rspec cases