[testArmBase] Test a closure for fetchItems()