add pagination and unit test Can_Pagenate()