testsuite: Add test for #12449
Needs RevisionPublic

Authored by bgamari on Mon, Jul 2, 2:04 PM.