dictionary iteration test