Added pagination test