def METHOD_NAME(
        client, org_martigny, acq_invoice_fiction_martigny, rero_json_header):
    """Test record retrieval."""
    list_url = url_for('invenio_records_rest.acin_list', view='org1')
    res = client.get(list_url, headers=rero_json_header)
    data = get_json(res)
    aggs = data['aggregations']
    assert 'library' in aggs