testsuite: Add test for #15368

Authored by bgamari on Sep 5 2018, 6:22 AM.