[nobug] Fixing tests
diff --git a/plugins/org.eclipse.wst.common.modulecore/modulecore-src/org/eclipse/wst/common/componentcore/internal/resources/VirtualResource.java b/plugins/org.eclipse.wst.common.modulecore/modulecore-src/org/eclipse/wst/common/componentcore/internal/resources/VirtualResource.java
index f65aed2..cc9f485 100644
--- a/plugins/org.eclipse.wst.common.modulecore/modulecore-src/org/eclipse/wst/common/componentcore/internal/resources/VirtualResource.java
+++ b/plugins/org.eclipse.wst.common.modulecore/modulecore-src/org/eclipse/wst/common/componentcore/internal/resources/VirtualResource.java
@@ -174,8 +174,7 @@
 	public IVirtualContainer getParent() {
 		if(getRuntimePath().segmentCount() > 1)
 			return new VirtualFolder(getComponentHandle(), getRuntimePath().removeLastSegments(1));
-		//return getComponent(); NA, to resolve the case of root folder
-		return null;
+		return getComponent().getRootFolder();
 	} 
 
 	public IProject getProject() {