Added test for incorrect join SQL when column on joined table has AliasAttribute
Merge pull request #393 from UriHendler/master

Added test for incorrect join SQL when column on joined table has AliasAttribute