def METHOD_NAME():
    random_alias = "".join((choice(string.ascii_letters) for _ in range(100)))
    alias_dict = {random_alias: {}}
    index = Index("i", using="alias")
    index.aliases(**alias_dict)
    assert index._aliases == index.to_dict()["aliases"] == alias_dict