finished InventoryDB and tests