 			XCTAssertTrue(success, "Cannot save the Graph: \(error)")
 		}
 		
-		for var i: Int = 0; i < 1000; ++i {
+		for var i: Int = 0; i < 100; ++i {
 			let n: Entity = Entity(type: "T1")
 			n["P1"] = 0 == i % 2 ? "V1" : 1
 			n["P2"] = "V2"

		measureBlock {
			XCTAssertEqual(0, self.graph.searchForEntity().count)
			
			XCTAssertEqual(1000, self.graph.searchForEntity(types: ["T1"]).count)
			XCTAssertEqual(3000, self.graph.searchForEntity(types: ["T1", "T2"]).count)
			XCTAssertEqual(6000, self.graph.searchForEntity(types: ["T1", "T2", "T3"]).count)
			XCTAssertEqual(6000, self.graph.searchForEntity(types: ["*"]).count)

			XCTAssertEqual(0, self.graph.searchForEntity(groups: ["NONE"]).count)
			XCTAssertEqual(1000, self.graph.searchForEntity(groups: ["G1"]).count)
			XCTAssertEqual(3000, self.graph.searchForEntity(groups: ["G1", "G2"]).count)
			XCTAssertEqual(6000, self.graph.searchForEntity(groups: ["G1", "G2", "G3"]).count)
			XCTAssertEqual(6000, self.graph.searchForEntity(groups: ["*"]).count)
			
			XCTAssertEqual(1000, self.graph.searchForEntity(types: ["T1"], groups: ["G1"]).count)
			XCTAssertEqual(3000, self.graph.searchForEntity(types: ["T1"], groups: ["G1", "G2"]).count)


		}
		
		for n in graph.searchForEntity(types: ["*"]) {

			n.addGroup("G2")
		}
		
		for var i: Int = 0; i < 200; ++i {
			let n: Entity = Entity(type: "T2")
			n["P2"] = "V2"
			n.addGroup("G2")
		}
		
		for var i: Int = 0; i < 300; ++i {
			let n: Entity = Entity(type: "T3")
			n["P3"] = "V3"
			n.addGroup("G3")
