Added test for #1173