added test case related to #1711