def METHOD_NAME(test_file, dataframe_regression):
    """
    Test of the Jij constant calculations
    """
    from masci_tools.tools.greensfunction import GreensFunction
    from masci_tools.tools.greensf_calculations import calculate_heisenberg_jij
    n_elements = 15
    g = []
    for index in range(1, n_elements + 1):
        g.append(GreensFunction.fromFile(test_file('fleur/greensf/greensf_jij_mz.hdf'), index=index))
    jij_constants = calculate_heisenberg_jij(g, reference_atom=1, onsite_delta=ONSITE_DELTA)
    assert isinstance(jij_constants, pd.DataFrame)
    print(jij_constants.head())
    dataframe_regression.check(jij_constants, basename='test_jij')