added iteration to topic test