This commit adds regression test T25473 marked as broken due to #25473. It will be fixed in the subsequent commit. (cherry picked from commit ed2ed6c5) (cherry picked from commit fb470cb6)