updated testAddItemChain