Add test case for TBD-1010
https://jira.talendforge.org/browse/TBD-1010