Fixed InventoryService unit tests, using the new testing framework.