     func testNativeSideInterfaceDeallocation() {
         var o :AnyObject? = SimpleInterfaceImpl()
         weak var ref = o
-        XCTAssertNotNil(ref);
-        optionalAnyVar = o;
-        o = nil;
-        XCTAssertNotNil(ref);
-        optionalAnyVar = nil;
+        XCTAssertNotNil(ref)
+        optionalAnyVar = o
+        o = nil
+        XCTAssertNotNil(ref)
+        optionalAnyVar = nil
         JSSynchronousGarbageCollectForDebugging(this.context.ref)
         XCTAssertNil(ref)
     }

    func testJSSideInterfaceDeallocation() {
        var o :AnyObject? = simpleInterfaceInstance
        weak var ref = o
        XCTAssertNotNil(ref);
        optionalAnyVar = o;
        o = nil;
        XCTAssertNotNil(ref);
        optionalAnyVar = nil;
        JSSynchronousGarbageCollectForDebugging(this.context.ref)
        XCTAssertNil(ref)
    }

    func testUnknownJSSideObjectDeallocation() {
        var o :AnyObject? = optionalAnyObjectInstance as? AnyObject
        weak var ref = o!
        XCTAssertNotNil(ref)
        optionalAnyObjectInstance = nil
        JSSynchronousGarbageCollectForDebugging(this.context.ref)
        XCTAssertNotNil(ref)
        optionalAnyVar = o
        o = nil
        XCTAssertNil(ref)
    }
    
    func testKnownNativeSideObjectDeallocation() {
        var o :AnyObject? = SimpleObject(1)
        weak var ref = o
        XCTAssertNotNil(ref)
        optionalAnyVar = o
        o = nil
        XCTAssertNotNil(ref)
        optionalAnyVar = nil
        JSSynchronousGarbageCollectForDebugging(this.context.ref)
        XCTAssertNil(ref)
    }
