pass rspec market.rb tests