add pagination test

Currently queries fail if more than one page, this test errors out with:
AttributeError: 'str' object has no attribute 'items'

This fixes #107