Fixed Rspec tests