@Test
public void happyFlowRender2SVG_STANDALONE() throws IOException, GraphvizException {

	GraphvizEngine engine = new GraphvizEngine();
	assertNotNull(engine);
	Options options = Options.create().format(Format.SVG_STANDALONE);
	assertEquals("{format:'SVG_STANDALONE',engine:'dot'}", options.toJson(true));
	assertEquals("{format:'svg',engine:'dot'}", options.toJson(false));
	String render = "render('" + dot + "'," + options.toJson(false) + ");";
	String result = engine.execute(render, options); //We also have to give options here to make sure SVG_STANDALONE is used
	URL svg = ClassUtils.getResourceURL(classLoader, "flow.svg_standalone");
	assertNotNull(svg);
	assertEqualsIgnoreWhitespaces(Misc.streamToString(svg.openStream()), result);
}