@Test
	public void testCodeUnitScope_UndefinedData() throws Exception {
		//
		// Turn on Undefined Data scope and make sure only that scope yields matches
		//
		goTo(0x1001000);
		setCodeTypeFilters(false, false, true);

		setInput("01100101");
		performSearchNext(addr(0x1001502));

		// Turn off Undefined Data scope and make sure we have no match at the expected address
		goTo(0x1001500);
		setCodeTypeFilters(true, true, false);
		performSearchNext(addr(0x1001708));
		// try backwards

		goTo(0x1003000);
		setCodeTypeFilters(false, false, true);

		performSearchPrevious(addrs(0x1001502));
	}
Tests for the Binary format in searching memory.
Ghidra/Features/Base/src/test.slow/java/ghidra/features/base/memsearch/MemSearchBinaryTest.java