Added test for #1602