Fixed the rspec tests