GWT JUnit test with GWT graphics

Is there a way to run a GWT unit test with GWT graphics ?

I have an exception (see below). I suspect it’s because the GWT test unit does not emulate all the Javascript calls when performing the test.
Is anybody doing Junit test including GWT Graphics ?

Test has failed because of:

Caused by: java.lang.Exception: com.google.gwt.core.client.JavaScriptException: (null): null
at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:248)
at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:289)
at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107)
at org.vaadin.gwtgraphics.client.impl.util.SVGUtil.setAttributeNS(SVGUtil.java)
at org.vaadin.gwtgraphics.client.impl.util.SVGUtil.setAttributeNS(SVGUtil.java:45)
at org.vaadin.gwtgraphics.client.impl.SVGImpl.setFillColor(SVGImpl.java:162)
at org.vaadin.gwtgraphics.client.Shape.setFillColor(Shape.java:107)
at org.vaadin.gwtgraphics.client.Shape.(Shape.java:43)
at org.vaadin.gwtgraphics.client.shape.Circle.(Circle.java:40)

The same code is running fine outside of the unit testing environment.

Cedric.