Fix a couple of bugs
diff --git a/tests/basic.py b/tests/basic.py
index 66f78aa..5a286fe 100644
--- a/tests/basic.py
+++ b/tests/basic.py
@@ -118,6 +118,7 @@
         basic_logger.info("** Setup " + str(self) + " inheriting from "
                           + str(parent))
         self.controller = parent.controller
+        self.supported_actions = parent.supported_actions
         
     def tearDown(self):
         basic_logger.info("** END TEST CASE " + str(self))
diff --git a/tests/caps.py b/tests/caps.py
index 7c187cc..a3355f2 100644
--- a/tests/caps.py
+++ b/tests/caps.py
@@ -63,7 +63,7 @@
     obj.assertEqual(rv, 0, "Failed to delete all flows")
 
     pkt = simple_tcp_packet()
-    match = packet_to_flow_match(self, pkt)
+    match = packet_to_flow_match(obj, pkt)
     obj.assertTrue(match is not None, "Could not generate flow match from pkt")
     for port in of_ports:
         break;