@Override
			public void modifyPrivate(ProgramDB program) {
				ReferenceManager refMgr = program.getReferenceManager();
				Reference[] refs;

				refs = refMgr.getReferencesFrom(addr(program, "0x10018a6"), 0); // Remove ref
				assertEquals(1, refs.length);
				refMgr.delete(refs[0]);

				refs = refMgr.getReferencesFrom(addr(program, "0x100295a"), 1); // Change ref
				assertEquals(1, refs.length);
				refMgr.addStackReference(addr(program, "0x100295a"), 1, -0x8, RefType.READ,
					SourceType.DEFAULT);

				refs = refMgr.getReferencesFrom(addr(program, "0x1002d0b"), 1); // Remove ref
				assertEquals(1, refs.length);
				refMgr.delete(refs[0]);

				refs = refMgr.getReferencesFrom(addr(program, "0x10033fe"), 0); // Change ref
				assertEquals(1, refs.length);
				refMgr.addStackReference(addr(program, "0x10033fe"), 0, -0xc, RefType.DATA,
					SourceType.DEFAULT);
			}
Test the merge of the versioned program's listing.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/merge/listing/RefMergerRegTest.java