Issue #23: Got pagination params working.

Added a couple of default sort params to get the pagination tests
working (since they couldn't work with a random order returned every
request). These are subject to change as necessary.

Also included some minor test refactoring.