test: refactor, apply suggestion from @pared
test: refactor, apply suggestion from @pared

Co-Authored-By: Paweł Redzyński <107f1066cd4956ea7b9c6e8a6340e60f4d916130@gmail.com>
efiop/dvc,efiop/dvc,dmpetrov/dataversioncontrol,dmpetrov/dataversioncontrol