Test for inner join with limit.