Test for #1498