Fix test to use pageSize/page instead of start/end