testsuite: Add test for #16514

Authored by bgamari on Apr 2 2019, 10:59 AM.