FORGE-1206: Added test to reproduce the issue