Added more test cases for select with limit.