Fixed pagination test