Test JPagination method