bug fixing the pagination test