tests: testsuite iteration fix

* Fixes issue introduced by rebasing to latest next.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>