Fix bug in paging test utility code

At some point when we changed the API for paging to use
`include-total` instead of `count?` for indicating that
we'd like for the response to include a count header,
we missed a spot in the test utility code that was still
expecting it to be `count?`, and thus we lost test
coverage for the count-related functionality.

This commit fixes that oversight and adds more strict
validation to the arguments to the test utility function,
to ensure that it is being used properly by all callers.
Merge pull request #718 from cprice404/bug/1.5.x/missed-api-change-in-paging-test-utils

Fix bug in paging test utility code