Test for broken ToCountStatement when doing joins with SqlExpression

Test for ServiceStack issue #102