ERRAI-516 - Added test case to reproduce the problem