properly ordered DER-encoded SET added to rfc2315 tests
diff --git a/tests/test_rfc2315.py b/tests/test_rfc2315.py
index ba92801..5dbdc4b 100644
--- a/tests/test_rfc2315.py
+++ b/tests/test_rfc2315.py
@@ -76,6 +76,7 @@
 K9GiPz3dNyvQMfmaA0twd62zJDOVJ1SmO04lLmu/pAx8GhBZkqEAMQA=
 """
 
+    # canonically ordered SET components
     pem_text_reordered = """\
 MIIKcwYJKoZIhvcNAQcCoIIKZDCCCmACAQExADALBgkqhkiG9w0BBwGgggpIMIIC
 XjCCAcegAwIBAgIBADANBgkqhkiG9w0BAQQFADB1MQswCQYDVQQGEwJSVTEPMA0G
@@ -150,14 +151,13 @@
 
     def testDerCodecDecodeOpenTypes(self):
 
-        substrate = pem.readBase64fromText(self.pem_text_unordered)
+        substrate = pem.readBase64fromText(self.pem_text_reordered)
 
         asn1Object, rest = der_decoder.decode(substrate, asn1Spec=self.asn1Spec, decodeOpenTypes=True)
 
         assert not rest
         assert asn1Object.prettyPrint()
-        assert der_encoder.encode(asn1Object, decodeOpenTypes=True) == substrate
-
+        assert der_encoder.encode(asn1Object) == substrate
 
 suite = unittest.TestLoader().loadTestsFromModule(sys.modules[__name__])