test setitem after write