def METHOD_NAME(test_file, dataframe_regression):
    """
    Test of the Jij constant calculations magnetic moment in x-direction
    """
    from masci_tools.tools.greensf_calculations import calculate_heisenberg_tensor, decompose_jij_tensor
    jij_constants = calculate_heisenberg_tensor(test_file('fleur/greensf/greensf_jij_mx.hdf'),
                                                reference_atom=1,
                                                onsite_delta=ONSITE_DELTA)
    assert isinstance(jij_constants, pd.DataFrame)
    decompose_jij_tensor(jij_constants, 'x')
    dataframe_regression.check(jij_constants)