fixed issue with empty querysets, as well as refactored test code to han...

...dle configuration files. To fix the queryset issue, had to create a new classmethod in comments to contstruct a filter search object, but not actually run it and simply return that object. This allowed the pagination code to run it and avoid attempting to run an empty query.