Modification of one text example file should trigger said test
# What does this PR do?

I realized while reviewing PRs like #23912 that a modification of a given text example file won't trigger the run of said test. This PR fixes that bug in the test fetcher and add some tests.
_The documentation is not available anymore as the PR was closed or merged._