Removed warnings for rspec testing