[ADD] Test case for GH-678.
Merge pull request #680 from LeoWoerteler/gh-678

[ADD] Test case for GH-678.