[ issue 1168 ] Added test case
Merge branch 'issue-1168'