add iterator for the tester