@@ -0,0 +1,991 @@
+from membrane import Membrane, Proxy%0Afrom rt import Wait%0A%0Adef test_membrane():%0A    m1 = Membrane.create()%0A    m1.transport = %7B'protocol': 'null',%0A                    'membrane': m1%7D%0A    m2 = Membrane.create()%0A    m2.transport = %7B'protocol': 'null',%0A                    'membrane': m1%7D%0A    m1 %3C%3C 'start'%0A    m2 %3C%3C 'start'%0A%0A    w = Wait.create()%0A    actor1 = Wait.create()%0A    actor2 = Wait.create()%0A%0A    m2 %3C%3C %7B'get_uid': actor2,%0A           'reply_to': w%7D%0A    u2 = w.act()%5B'uid'%5D%0A%0A    m1 %3C%3C %7B'create_proxy': u2,%0A           'transport': %7B'protocol': 'null',%0A                         'membrane': m2%7D,%0A           'reply_to': w%7D%0A    proxy = w.act()%5B'proxy'%5D%0A    proxy %3C%3C %7B'foo': 5,%0A              'reply_to': actor1%7D%0A%0A    msg = actor2.act()%0A    assert msg%5B'foo'%5D == 5%0A%0A    proxy2 = msg%5B'reply_to'%5D%0A    assert isinstance(proxy2, Proxy)%0A%0A    proxy2 %3C%3C %7B'bar': 3,%0A               'reply_to': actor2%7D%0A    msg = actor1.act()%0A    assert msg%5B'bar'%5D == 3%0A    assert msg%5B'reply_to'%5D is proxy%0A    %0A%0A    %0A    

Add test for membrane behavior