* Add unit test for #1646

test for #1646