import unittest
import oi


class TestOi(unittest.TestCase):

    def setUp(self):
        address = None
        p = oi.Program('test program', address)
        c = oi.CtlProgram('test program ctl', address)

    def test(self):
        self.assertTrue(True)

@@ -84,16 +84,21 @@
         
+self.
 address 
@@ -103,12 +103,39 @@
 s = 
-None
+'ipc:///tmp/test-programd.sock'
 %0A   
@@ -139,16 +139,21 @@
         
+self.
 p = oi.P
@@ -164,23 +164,24 @@
 am('
-test 
 program
+d
 ', 
+self.
 addr
@@ -193,17 +193,24 @@
         
-c
+self.ctl
  = oi.Ct
@@ -223,27 +223,26 @@
 am('
-test 
 program
- 
 ctl', 
+self.
 addr
@@ -255,50 +255,269 @@
     
-def test(self):%0A        self.assertTrue(True
+# --------------------------------------%0A%0A    def test_new_program(self):%0A        self.assertIsNotNone(self.p)%0A%0A    def test_new_ctl(self):%0A        self.assertIsNotNone(self.ctl)%0A%0A    def test_add_command(self):%0A        self.p.add_command('test', lambda p: 'test'
 )%0A

Fix basic testing