Updated rspec tests