 
             let otherArray = realm.objects(SwiftArrayPropertyObject).first!.array
             XCTAssertEqual(Int(2), otherArray.count)
+        }
+    }
+
+    func testPopulateEmptyArray() {
+        XCTAssertEqual(array.count, 0, "Should start with no array elements.")
+
+        let obj = SwiftStringObject()
+        obj.stringCol = "a"
+        array.append(obj)
+        array.append(SwiftStringObject.createInRealm(realmWithTestPath(), withObject: ["b"]))
+        array.append(obj)
+
+        XCTAssertEqual(array.count, 3)
+        XCTAssertEqual(array[0].stringCol, "a")
+        XCTAssertEqual(array[1].stringCol, "b")
+        XCTAssertEqual(array[2].stringCol, "a")
+
+        // Make sure we can enumerate
+        for obj in array {
+            XCTAssertTrue(countElements(obj.description) > 0, "Object should have description")
         }
     }
 }

        XCTAssertEqual("2", sorted[1].stringCol)

        sorted = array.sorted("stringCol", ascending: false)
        XCTAssertEqual("2", sorted[0].stringCol)
        XCTAssertEqual("1", sorted[1].stringCol)
    }

        XCTAssertEqual(str1, array[2])
    }

    func testAppendResults() {
        array.append(realmWithTestPath().objects(SwiftStringObject))
        XCTAssertEqual(Int(2), array.count)
        XCTAssertEqual(str1, array[0])
