private Symbol createFunction(String name) throws Exception {
		Symbol entry = getUniqueSymbol(program, "entry", null);
		createEntryFunction();
		editLabel(entry);
		setText(name);
		pressOk();

		SymbolIterator it = st.getSymbols(name);
		Symbol newLabel = it.next();
		assertNotNull(newLabel);
		assertEquals(name, newLabel.getName());
		return newLabel;
	}
Catches the issue where the user could not move a label within a
namespace under the Global namespace to directly under the Global
namespace.

see Tracker ID 901
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/label/AddEditDialoglTest.java