Prepare test cases, store them in Fetch/testdata. They cover changes in this PR as well from previous one #19111.