Update purchased_stock_test.rb

Added scope tests