corrected rspec failures