fix: for iterating through list and modifying it in the same loop

Обновление тестов по результатам ревью: https://github.com/kis8ya/elliptics-qa/pull/41