Updated Rspec tests