Add new test to constructor
Merge pull request #1781 from wilsonge/tests

Add new test to JPagination constructor