[ADD] Test case for GH-678.