tests: make test-apply-criss-cross-rename more robust