def METHOD_NAME(taxonomy_token, public_group):
    n_tax = 5
    ids = []
    names = []
    for _ in range(n_tax):
        name = "test taxonomy" + str(uuid.uuid4())
        status, data = api(
            'POST',
            'taxonomy',
            data={
                'name': name,
                'hierarchy': taxonomy,
                'group_ids': [public_group.id],
                'provenance': f"tdtax_{__version__}",
                'version': __version__,
                'isLatest': True,
            },
            token=taxonomy_token,
        )
        assert status == 200
        ids.append(data['data']['taxonomy_id'])
        names.append(name)
    status, data = api('GET', 'taxonomy', token=taxonomy_token)
    assert status == 200
    assert isinstance(data["data"], list)
    # make sure we can retrieve those taxonomies
    for _taxonomy in data["data"]:
        assert _taxonomy["id"] in ids
        assert _taxonomy["name"] == names[ids.index(_taxonomy["id"])]