def METHOD_NAME(strict, test_merged_otu):
    otu_list = [test_merged_otu, test_merged_otu]
    otu_list[0]["isolates"].append(otu_list[0]["isolates"][0])
    result = detect_duplicates(otu_list, strict=strict)
    if strict:
        assert result == [
            {
                "duplicates": ["PVF"],
                "id": "duplicate_abbreviations",
                "message": "Duplicate OTU abbreviations found",
            },
            {
                "duplicates": ["6116cba1"],
                "id": "duplicate_ids",
                "message": "Duplicate OTU ids found",
            },
            {
                "duplicates": {
                    "6116cba1": {"duplicates": ["cab8b360"], "name": "Prunus virus F"}
                },
                "id": "duplicate_isolate_ids",
                "message": "Duplicate isolate ids found in some OTUs",
            },
            {
                "duplicates": ["Prunus virus F"],
                "id": "duplicate_names",
                "message": "Duplicate OTU names found",
            },
            {
                "duplicates": {"abcd1234"},
                "id": "duplicate_sequence_ids",
                "message": "Duplicate sequence ids found",
            },
        ]
    else:
        assert result == [
            {
                "duplicates": ["PVF"],
                "id": "duplicate_abbreviations",
                "message": "Duplicate OTU abbreviations found",
            },
            {
                "duplicates": ["Prunus virus F"],
                "id": "duplicate_names",
                "message": "Duplicate OTU names found",
            },
        ]