Add a test for Trac #15586

Authored by monoidal on Sep 4 2018, 8:42 AM.