Added test and rewritten Inventory.path and xml instantiation through cts.xml.helpers.xmlParsing