fixing pagination test