             XCTAssertTrue(event.deletedIndices.isEmpty)
             XCTAssertTrue(event.updatedIndices.isEmpty)
             exp.fulfill()
-            }
-            .addDisposableTo(disposeBag)
+        }
+        .addDisposableTo(disposeBag)
 
         a.insert("milk", atIndex: 2)
 


    func testAppendRxElements() {
        var a: ObservableArray<String> = ["foo", "bar"]

        let exp = expectationWithDescription("event emitted")
        a.rx_elements().subscribeNext { (elements) -> Void in
            XCTAssertEqual(["foo", "bar", "buzz"], elements)
            exp.fulfill()
            }
            .addDisposableTo(disposeBag)

        a.append("buzz")

        waitForExpectationsWithTimeout(1) { (error) in
            XCTAssertNil(error, "\(error)")
        }
    }

    func testAppendRxEvent() {


    func testRemoveAllRxElements() {
        var a: ObservableArray<String> = ["foo", "bar", "buzz", "tea", "coffee"]
        var observed = [[String]]()

        let exp = expectationWithDescription("event emitted")
        a.rx_elements().subscribeNext { (elements) -> Void in
            observed.append(elements)
            if observed.count == 2 {
                exp.fulfill()
            }
        }
        .addDisposableTo(disposeBag)

        a.removeAll()

        waitForExpectationsWithTimeout(1) { (error) in
            XCTAssertNil(error, "\(error)")
        }

        XCTAssertEqual([], observed[1])
    }

    func testRemoveAllRxEvent() {
