Rework store_test.rb using rspec