@Override
			public void modifyPrivate(ProgramDB program) {
				ProgramContext context = program.getProgramContext();
				Register eaxReg = context.getRegister("EAX");
				ReferenceManager refMgr = program.getReferenceManager();
				Reference[] refs;

				refs = refMgr.getReferencesFrom(addr(program, "0x100295a"), 1); // Change Ref register
				assertEquals(1, refs.length);
				refMgr.delete(refs[0]);
				refMgr.addRegisterReference(addr(program, "0x100295a"), 1, eaxReg,
					RefType.DATA, SourceType.DEFAULT);

				refs = refMgr.getReferencesFrom(addr(program, "0x10033fe"), 0); // Change Ref Type
				assertEquals(1, refs.length);
				refMgr.updateRefType(refs[0], RefType.READ);
			}
Test the merge of the versioned program's listing.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/merge/listing/RefMergerRegTest.java