Added test for limits and pagenation.