Testing for custom limit and offset