@Test
	public void testGetPropertyCuIteratorBackwards() throws Exception {
		startTransaction();
		mem.createInitializedBlock("test", addr(0), 100, (byte) 0, TaskMonitor.DUMMY, false);
		for (int i = 0; i < 20; i++) {
			CodeUnit cu = listing.getCodeUnitAt(addr(i));
			cu.setProperty("Numbers", i);
			assertEquals(i, cu.getIntProperty("Numbers"));
		}
		endTransaction();

		CodeUnitIterator iter = listing.getCodeUnitIterator("Numbers", addr(50), false);
		for (int i = 19; i >= 0; i--) {
			CodeUnit cu = iter.next();
			assertNotNull(cu);
			assertEquals(addr(i), cu.getMinAddress());
		}
		assertTrue(!iter.hasNext());
		assertNull(iter.next());
	}
** Diagnostic Aid ** Open program in tool
@throws Exception
Ghidra/Features/Base/src/test.slow/java/ghidra/program/database/code/CodeUnitIteratorTest.java