             ("B", 5)
         ]
         
-        XCTAssertEqual(self.orderedDictionary.count, 3)
-        XCTAssertTrue(self.orderedDictionary == expectedOrderedDictionary)
+        XCTAssertEqual(orderedDictionary.count, 3)
+        XCTAssertTrue(orderedDictionary == expectedOrderedDictionary)
         XCTAssertEqual(previousValue, 2)
     }
     

            ("C", 3)
        ]
        
        XCTAssertEqual(self.orderedDictionary.count, 3)
        XCTAssertTrue(self.orderedDictionary == expectedOrderedDictionary)
        XCTAssertEqual(previousValue, 2)
    }
    
    func testIndexBasedInsertionOfElementWithSameKeyAtItsCurrentIndex() {
        let previousValue = self.orderedDictionary.insertElement(("B", 5), atIndex: 1)
        
        let expectedOrderedDictionary: OrderedDictionary<String, Int> = [
            ("A", 1),

    // ======================================================= //
    
    func testRemoveAll() {
        orderedDictionary.removeAll()
        
        XCTAssertEqual(orderedDictionary.count, 0)
    }
    
    func testRemovalForKey() {
        let removedValue1 = orderedDictionary.removeValueForKey("A")
        let removedValue2 = orderedDictionary.removeValueForKey("K")
        
        XCTAssertEqual(removedValue1, 1)
        XCTAssertNil(removedValue2)
        
        XCTAssertEqual(orderedDictionary.count, 2)
        
        XCTAssertNil(orderedDictionary["A"])
        XCTAssertNil(orderedDictionary.indexForKey("A"))
        
        XCTAssertEqual(orderedDictionary["B"], 2)
        XCTAssertEqual(orderedDictionary.indexForKey("B"), 0)
        
        XCTAssertEqual(orderedDictionary["C"], 3)
        XCTAssertEqual(orderedDictionary.indexForKey("C"), 1)

    }
    
    func testRemovalAtIndex() {
        let removedElement1 = orderedDictionary.removeAtIndex(1)
        let removedElement2 = orderedDictionary.removeAtIndex(0)
        let removedElement3 = orderedDictionary.removeAtIndex(5)
        
        XCTAssertEqual(removedElement1?.0, "B")
        XCTAssertEqual(removedElement1?.1, 2)
