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