Test for #1769