Adding test for serializing a paginated JSON-API document.