testsuite: Add testcase for #16394

Authored by bgamari on Mar 5 2019, 7:33 PM.