diff --git a/scapy/contrib/openflow.uts b/scapy/contrib/openflow.uts
index dd2d0bf6470e7e4eae0423b598622f7c307b96e8..c58541b1da4789beabad863e05ee331ed10986bb 100755
--- a/scapy/contrib/openflow.uts
+++ b/scapy/contrib/openflow.uts
@@ -77,5 +77,4 @@ s = b'\x01#Eg\x89\xab\x00\x11"3DU\x08\x00E\x00\x000\x00\x01\x00\x00@\x06\xaf\xee
 assert(str(ofm) == s)
 e = Ether(s)
 e.show2()
-of = OFPTFeaturesRequest(e[TCP].load)
-of.xid == 23
+e[OFPTFeaturesRequest].xid == 23
diff --git a/scapy/contrib/openflow3.uts b/scapy/contrib/openflow3.uts
index 0fb844ac548bedd4b189a3384166687dcbfab1e5..9f2be9370ac0c22198372d37338a9921d5b409df 100755
--- a/scapy/contrib/openflow3.uts
+++ b/scapy/contrib/openflow3.uts
@@ -79,5 +79,4 @@ s = b'\x01#Eg\x89\xab\x00\x11"3DU\x08\x00E\x00\x000\x00\x01\x00\x00@\x06\xaf\xee
 assert(str(ofm) == s)
 e = Ether(s)
 e.show2()
-of = OFPTFeaturesRequest(e[TCP].load)
-of.xid == 23
+e[OFPTFeaturesRequest].xid == 23