TMDM-7590 : add junit testcase for this issue