Test class for JoinSqlBuilder

Applies to master branch the tests added to V3 for field names
selection and destination and source where errors
Merge pull request #342 from barambani/master

Test class for JoinSqlBuilder