List<StatisticsAck> statisticsAcks = instancesOf(acks, StatisticsAck.class);
Statistics aggregated = statisticsAcks.stream().filter(ack -> ack.iterations != null)
.flatMap(ack -> ack.iterations.stream().flatMap(s -> s.stream())).reduce(null, Statistics.MERGE);</BUG>
for (StatisticsAck ack : statisticsAcks) {
<BUG>if (ack.iterations != null) {

int i = getTestIteration();
for (List<Statistics> threadStats : ack.iterations) {
if (test != null) {
String iterationValue = resolveIterationValue();</BUG>
if (iterationValue != null) {

List<StatisticsAck> statisticsAcks = instancesOf(acks, StatisticsAck.class);
Statistics aggregated = statisticsAcks.stream().flatMap(ack -> ack.statistics.stream()).reduce(null, Statistics.MERGE);
for (StatisticsAck ack : statisticsAcks) {
if (ack.statistics != null) {
if (test != null) {
int testIteration = getTestIteration();
String iterationValue = resolveIterationValue();
