#1606 - Added test for the issue