Good question. To write this test I've used some other test from the same file (line: 268 - "multiple selections can be set indirectly via bindings and in-place when multiple=true (issue #1058)").

My reasoning is that nested loop make sure the object will be destroyed before we create a new one. But I may be totally wrong on it. Maybe @wagenet who authored that solution in other test can explain it to us.