Test case for #1467