Add some new tests to JPagination
Merge pull request #1800 from wilsonge/paginationtests

Start reworking JPaginationTest