Fixing pagination test