testsuite: Add testsuite for #16978

Authored by bgamari on Jul 31 2019, 1:07 PM.