@Test
public void loadModifySave() throws Exception{
File testWidget = new File("build/widgets/bubbles.wgt");
W3CWidget widget = load(testWidget);
INameEntity name = widget.getNames().get(0);
name.setName("Modified Widget");
WidgetOutputter outputter = new WidgetOutputter();
outputter.setWidgetFolder("/widgets");
String manifest = outputter.outputXMLString(widget);
assertTrue(manifest.contains("Modified Widget"));
assertTrue(manifest.contains("<content src=\"index.html\""));