add test for #1486