Test case for issue #35. (Join sub-clause.)