remove full-inventory tests & fix some typos
manage case of *wrong* parameters (like object) pass to getInventoryList in sql_kw

in case *wrong* parameters are passed, stock optimisation is not used