Edited Rspec tests