Added test case issue #1604
Closes #1604