Added test for #1100