Add test for #1669