issue #1758 : Add test case.