def METHOD_NAME(elastic_module, raw_files_module, mongo_module, test_user, other_test_user, normalized):
    data = ExampleData(main_author=test_user)
    upload_id = "suggestions_upload"
    data.create_upload(
        upload_id=upload_id,
        published=True
    )
    data.create_entry(
        upload_id=upload_id,
        entry_id="suggestions_entry_1",
        mainfile="test_content/test_entry/main-file.json",
        results={
            "material": {
                "material_name": "alpha/beta",
                "elements": ["C", "H", "Br"],
                "chemical_formula_hill": "C2H5Br",
                "chemical_formula_anonymous": "A2B5C",
                "chemical_formula_descriptive": "C2H5Br",
                "chemical_formula_reduced": "C2H5Br",
                # A duplicate value is given to test that only unique values
                # are suggested.
                "functional_type": ["semimetal", "semiconductor", "semimetal"],
                "symmetry": {
                    "crystal_system": "cubic",
                    "structure_name": "rock salt",
                    "prototype_aflow_id": "AB_cF8_225_a_b",
                }
            },
            "method": {
                "simulation": {
                    "program_name": "test_name",
                    "program_version": "10.12",
                    "dft": {
                        "xc_functional_names": ["GGA_X_PBE_SOL", "GGA_C_PBE_SOL"]
                    }
                }
            },
            "properties": {
                "mechanical": {
                    "bulk_modulus": [
                        {
                            "type": "birch_euler",
                            "value": 1,
                        }
                    ]
                }
            }
        }
    )
    data.create_entry(
        upload_id=upload_id,
        entry_id="suggestions_entry_2",
        mainfile="test_content/test_entry/main-file.json",
        results={
            "material": {
                "chemical_formula_hill": "ClNa",
            },
        }
    )
    data.create_entry(
        upload_id=upload_id,
        entry_id="suggestions_entry_3",
        mainfile="test_content/test_entry/main-file.json",
        results={
            "material": {
                "chemical_formula_hill": "Ni2O2",
            },
        }
    )
    data.create_entry(
        upload_id=upload_id,
        entry_id="suggestions_entry_4",
        mainfile="test_content/test_entry/main-file.json",
        results={
            "material": {
                "chemical_formula_hill": "Mg2O2",
            },
        }
    )
    data.save()
    yield
    data.delete()
    from nomad.search import search
    assert search(query=dict(upload_id=upload_id)).pagination.total == 0