Add test cases for TDI-30481
https://jira.talendforge.org/browse/TDI-30481