diff --git a/test/src/net/lshift/javax/xml/DocumentHelperTest.java b/test/src/net/lshift/javax/xml/DocumentHelperTest.java
index <HASH>..<HASH> 100644
--- a/test/src/net/lshift/javax/xml/DocumentHelperTest.java
+++ b/test/src/net/lshift/javax/xml/DocumentHelperTest.java
@@ -13,7 +13,7 @@ public class DocumentHelperTest extends TestCase {
     public static void testXmlCopy()
         throws ParserConfigurationException, TransformerException
     {
-        String expected = "notthesame";
+        String expected = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?><foo/>";
         Element root = DocumentHelper.newDocumentRoot("foo");
         ByteArrayOutputStream baos = new ByteArrayOutputStream();
         DocumentHelper.xmlCopy(root.getOwnerDocument(), baos);
bug <I>: test now works.  However, it's not entirely reliable - correct code could fail this test.