Added tests
Fixed #25 Join condition byDefaultEvenIfAssociated should be in the back for MySQL