Test case for RSE safety with multiple joins.