fix iterator methods for the DictType (values, items)
test complicated case when dict has a value/key as dict also