Add unit/integ test for #442

This is a test for #442, verifying we get the proper output
whenever we have a paginated response combined with text output.
Merge branch 'test-issue-442' into develop

* test-issue-442:
  Add unit/integ test for #442