Removed warnings from Rspec