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