fixing warning on shadowing local var (TEST_CYCLE_MULTIRUN uses 'r')