Add testcase for default offset and limit of sortBy option