fixed bug in store_controller_test.rb