Test iterator key and data