* Fix strategy functions that update inventory * added tests (cherry picked from commit a7b14ec1be)
a7b14ec1be