The check iterates over several previous BDB-only releases to check that descriptor wallets are considered “corrupt” when loading. It is unclear why this needs to be done for more than one release.
Avoid the confusion by removing the unused releases from the test and from the download script.