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.