diff --git a/test/test1.html b/test/test1.html
index b29589d2..5631971c 100644
--- a/test/test1.html
+++ b/test/test1.html
@@ -218,7 +218,32 @@
equals(svgCanvas.getPrivateMethods().toXml(">"), ">", "Escaped > properly");
equals(svgCanvas.getPrivateMethods().toXml("&"), "&", "Escaped & properly");
// TODO: what about " and ' ?
- });
+ });
+
+ test("Test importing SVG into existing drawing", function() {
+ expect(3);
+
+ var doc = svgCanvas.setSvgString('');
+
+ svgCanvas.importSvgString('');
+
+ var svgcontent = document.getElementById("svgcontent"),
+ circles = svgcontent.getElementsByTagNameNS(svgns, "circle"),
+ rects = svgcontent.getElementsByTagNameNS(svgns, "rect"),
+ ellipses = svgcontent.getElementsByTagNameNS(svgns, "ellipse");
+ equals(circles.length, 2, "Found two circles upon importing");
+ equals(rects.length, 1, "Found one rectangle upon importing");
+ equals(ellipses.length, 1, "Found one ellipse upon importing");
+ });
+
});