@Test
	public void testAddLatest() throws Exception {

		final String address = "0x100";

		mtf.initialize("DiffTestPgm1", new MergeProgramModifier() {

			@Override
			public void initializeProgram(MergeProgram program) throws Exception {
				program.addMemory("memory", "0x0", 0x200);
			}

			@Override
			public void modifyLatest(MergeProgram program) {
				program.setBookmark(address, BookmarkType.NOTE, "Cat1",
					"Test bookmark @ " + address);
			}
		});

		executeMerge(ASK_USER);
		waitForMergeCompletion();

		checkBookmark(address, BookmarkType.NOTE, "Cat1", "Test bookmark @ " + address);
	}
Test the merge of Note Bookmarks in the versioned program's listing.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/merge/listing/BookmarkMergerNoteTest.java