Bug 338707 Reconciler chokes on elements under parents that have been removed from the model
tests/org.eclipse.e4.ui.tests/src/org/eclipse/e4/ui/tests/reconciler/ModelReconcilerScenarioTest.java
window.getChildren().add(partC);
		Collection<ModelDelta> deltas = constructDeltas(application,
				serializedState);
		assertEquals(3, window.getChildren().size());
		assertEquals(partA, window.getChildren().get(0));
		assertEquals(partB, window.getChildren().get(1));
		assertEquals(partC, window.getChildren().get(2));
		applyAll(deltas);
		List<MWindowElement> children = window.getChildren();
		assertEquals(1, children.size());
		assertEquals(partC, children.get(0));
	}
	/**
	 * <ol>
	 * <li>The application has a window with a stack that houses two parts, A
	 * and B.</li>
	 * <li>The user creates a new stack to the left of the original stack and
	 * places part A in it.</li>
	 * </ol>
	 */
	public void testPartStack_Addition_ContainsExistingPart() {
		MApplication application = createApplication();
		MWindow window = createWindow(application);
		MPartStack stack1 = BasicFactoryImpl.eINSTANCE.createPartStack();
		window.getChildren().add(stack1);
		MPart part1 = BasicFactoryImpl.eINSTANCE.createPart();
		MPart part2 = BasicFactoryImpl.eINSTANCE.createPart();
		stack1.getChildren().add(part1);
		stack1.getChildren().add(part2);
		saveModel();