[bugfix/toParam-nested] Added new test for JOIN on Condition using expr()



Fixed a problem with using an expression in the JOIN on condition.  Add a new test to make sure doesn't happen again :)