@Test
	public void testMoveCurrentLabelToGlobalNamespace() {
		Symbol s = getUniqueSymbol(program, "entry", null);

		Address entryAddress = s.getAddress();
		addLabel(entryAddress);
		setText("label_1");
		pressOk();

		assertTrue("Encountered a problem adding a label to the Global namespace",
			!dialog.isVisible());

		// move the label to a new namespace
		s = getUniqueSymbol(program, "label_1", null);
		editLabel(s);
		setText("namespace_1::label_1");
		pressOk();

		// make sure there were no problems
		assertTrue(
			"Encountered a problem changing a symbol's namespace while editing the symbol",
			!dialog.isVisible());

		// now move that label to the Global namespace
		s = st.getSymbols("label_1").next();
		editLabel(s);
		setText("Global::label_1");
		pressOk();

		assertTrue("Encountered a problem changing a symbol's namespace to " +
			"the Global namespace while editing the symbol", !dialog.isVisible());
	}
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