@Override
	protected Program buildProgram() throws Exception {
		ToyProgramBuilder builder = new ToyProgramBuilder("Test", false, ProgramBuilder._TOY);

		builder.createMemory(".text", "0x1001000", 0x6600);
		builder.createMemory(".data", "0x1008000", 0x600);
		builder.createMemory(".rsrc", "0x100a000", 0x5400);
		//create some strings
		builder.createEncodedString("0x010016ec", "something", StandardCharsets.UTF_16LE, true);
		builder.createEncodedString("0x01001708", "Notepad", StandardCharsets.UTF_16LE, true);
		builder.createEncodedString("0x01001740", "something else", StandardCharsets.UTF_16LE,
			true);
		builder.createEncodedString("0x01001840", "\u039d\u03bf\u03c4\u03b5\u03c0\u03b1\u03bd",
			StandardCharsets.UTF_16LE, true);
		builder.createEncodedString("0x0100186a",
			"\u03c1\u03b8\u03c4\u03b5\u03c0\u03b1\u03bd\u03c2\u03b2", StandardCharsets.UTF_16LE,
			true);
		builder.createEncodedString("0x0100196a",
			"\u03c1\u03b8\u03c4\u03b5\u03c0\u03b1\u03bd\u03c2\u03b2", StandardCharsets.UTF_8, true);
		builder.createEncodedString("0x0100189d", "\"Hello world!\"\n\t-new programmer",
			StandardCharsets.US_ASCII, true);
		builder.createEncodedString("0x0100198e", "\"Hello world!\"\n\t-new programmer",
			StandardCharsets.UTF_16LE, true);
		builder.createEncodedString("0x010013cc", "notepad.exe", StandardCharsets.US_ASCII, false);
		builder.createEncodedString("0x010013e0", "notepad.exe", StandardCharsets.US_ASCII, false);
		builder.createEncodedString("0x1006c6a", "GetLocaleInfoW", StandardCharsets.US_ASCII,
			false);
		builder.createEncodedString("0x1006f26", "GetCPInfo", StandardCharsets.US_ASCII, false);
		builder.createEncodedString("0x0100dde0", "NOTEPAD.EXE", StandardCharsets.UTF_16LE, true);
		builder.createEncodedString("0x0100eb90",
			"This string contains notepad twice. Here is the second NotePad.",
			StandardCharsets.UTF_16LE, true);
		builder.createEncodedString("0x0100ed00", "Another string", StandardCharsets.UTF_16LE,
			true);

		return builder.getProgram();
	}
Tests for searching memory for ascii.
Ghidra/Features/Base/src/test.slow/java/ghidra/features/base/memsearch/MemSearchAsciiTest.java