fixed few changes in rspec