Add test for gh-1549