Add test cases for TBD-893
https://jira.talendforge.org/browse/TBD-893