Test class for JoinSqlBuilder

Applies to master branch the tests added to V3 for field names
selection and destination and source where errors