Added test to expose issue #17166