     func testAllProperties() {
         if let allProperties = mirror?.allProperties {
             XCTAssertEqual(allProperties.count, 2)
-            XCTAssertEqual(allProperties[0], "normalProperty")
-            XCTAssertEqual(allProperties[1], "constProperty")
+            XCTAssertTrue(contains(allProperties, "normalProperty"))
+            XCTAssertTrue(contains(allProperties, "constProperty"))
         } else {
             XCTFail("Failed in testAllProperties")
         }

    func testAllMethods() {
        if let allMethods = mirror?.allMethods {
            XCTAssertEqual(allMethods.count, 2)
            XCTAssertEqual(allMethods[0], "demoMethodWithParams")
            XCTAssertEqual(allMethods[1], "demoMethod")
        } else {
            XCTFail("Failed in testAllMethods")
        }

    func testAllMembers() {
        if let allMembers = mirror?.allMembers {
            XCTAssertEqual(allMembers.count, 4)
            XCTAssertTrue(contains(allMembers, "normalProperty"))
            XCTAssertTrue(contains(allMembers, "constProperty"))
            XCTAssertTrue(contains(allMembers, "demoMethodWithParams"))
            XCTAssertTrue(contains(allMembers, "demoMethod"))
        } else {
            XCTFail("Failed in testAllMembers")
        }
