add unit test related to https://jira.talendforge.org/browse/TESB-7707