def METHOD_NAME():
    """
    Package-level unit test teardown.
    Removes all databases with name starting with PREFIX.
    To deal with possible foreign key constraints, it will unset
    and then later reset FOREIGN_KEY_CHECKS flag
    """
    conn_root.query("SET FOREIGN_KEY_CHECKS=0")
    cur = conn_root.query('SHOW DATABASES LIKE "{}\_%%"'.format(PREFIX))
    for db in cur.fetchall():
        conn_root.query("DROP DATABASE `{}`".format(db[0]))
    conn_root.query("SET FOREIGN_KEY_CHECKS=1")
    if os.path.exists("dj_local_conf.json"):
        remove("dj_local_conf.json")
    # Remove created users
    conn_root.query("DROP USER `datajoint`")
    conn_root.query("DROP USER `djview`")
    conn_root.query("DROP USER `djssl`")
    # Remove S3
    objs = list(minioClient.list_objects(S3_CONN_INFO["bucket"], recursive=True))
    objs = [
        minioClient.remove_object(S3_CONN_INFO["bucket"], o.object_name.encode("utf-8"))
        for o in objs
    ]
    minioClient.remove_bucket(S3_CONN_INFO["bucket"])