Test case for #1683

(cherry picked from commit 0d74b3002a99c3773ef8afe9871d6dcfe0b93c9e)
Merge pull request #1726 from sjinks/tests

[1.3.0] Test case for #1683