Test case for #1754