diff --git a/Documentation/testcases/partof/fail-the_container_must_be_related_using_specified_relation_2_2.ifc b/Documentation/testcases/partof/fail-the_container_must_be_related_using_specified_relation_2_2.ifc
deleted file mode 100644
index fd0ab7b..0000000
--- a/Documentation/testcases/partof/fail-the_container_must_be_related_using_specified_relation_2_2.ifc
+++ /dev/null
@@ -1,15 +0,0 @@
-ISO-10303-21;
-HEADER;
-FILE_DESCRIPTION(('ViewDefinition [CoordinationView]'),'2;1');
-FILE_NAME('','2022-10-07T13:48:44',(),(),'IfcOpenShell v0.7.0-dc67287d','IfcOpenShell v0.7.0-dc67287d','');
-FILE_SCHEMA(('IFC4'));
-ENDSEC;
-DATA;
-#1=IFCBEAM('0eA6m4fELI9QBIhP3wiLAp',$,$,$,$,$,$,$,$);
-#2=IFCSPACE('3Agm079vPIYBL4JExVrhD5',$,$,$,$,$,$,$,$,$,$);
-#3=IFCRELAGGREGATES('05rScmOVzMoQXOfbYdtLYj',$,$,$,#2,(#1));
-#10=IFCPROJECT('1eA6m4fELI9QBIhP3wiLAp',$,'TestProject',$,$,$,$,$,$);
-#11=IFCRELAGGREGATES('2eA6m4fELI9QBIhP3wiLAp',$,$,$,#10,(#2));
-ENDSEC;
-END-ISO-10303-21;
-
diff --git a/Documentation/testcases/partof/fail-the_containment_can_be_indirect_2_2.ids b/Documentation/testcases/partof/fail-the_containment_can_be_indirect_2_2.ids
deleted file mode 100644
index 5ae6131..0000000
--- a/Documentation/testcases/partof/fail-the_containment_can_be_indirect_2_2.ids
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
- The containment can be indirect 2/2
- Generated via code automation in the Ids Repository on github.
-
-
-
-
-
-
- IFCBEAM
-
-
-
-
-
-
-
- IFCBUILDING
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Documentation/testcases/partof/fail-the_container_must_be_related_using_specified_relation_2_2.ids b/Documentation/testcases/partof/pass-the_container_may_be_indirect.ids
similarity index 82%
rename from Documentation/testcases/partof/fail-the_container_must_be_related_using_specified_relation_2_2.ids
rename to Documentation/testcases/partof/pass-the_container_may_be_indirect.ids
index 98fa683..15e97be 100644
--- a/Documentation/testcases/partof/fail-the_container_must_be_related_using_specified_relation_2_2.ids
+++ b/Documentation/testcases/partof/pass-the_container_may_be_indirect.ids
@@ -1,11 +1,11 @@
- The container must be related using specified relation 2/2
+ The container may be indirect
Generated via code automation in the Ids Repository on github.
-
+
diff --git a/Documentation/testcases/partof/fail-the_containment_can_be_indirect_2_2.ifc b/Documentation/testcases/partof/pass-the_container_may_be_indirect.ifc
similarity index 63%
rename from Documentation/testcases/partof/fail-the_containment_can_be_indirect_2_2.ifc
rename to Documentation/testcases/partof/pass-the_container_may_be_indirect.ifc
index 8a565ca..2544825 100644
--- a/Documentation/testcases/partof/fail-the_containment_can_be_indirect_2_2.ifc
+++ b/Documentation/testcases/partof/pass-the_container_may_be_indirect.ifc
@@ -5,12 +5,10 @@ FILE_NAME('','2022-10-07T13:48:44',(),(),'IfcOpenShell v0.7.0-dc67287d','IfcOpen
FILE_SCHEMA(('IFC4'));
ENDSEC;
DATA;
-#1=IFCSPACE('3Agm079vPIYBL4JExVrhD5',$,$,$,$,$,$,$,$,$,$);
+#1=IFCSLAB('1hqIFTRjfV6AWq_bMtnZwI',$,$,$,$,$,$,$,$);
#2=IFCBEAM('0eA6m4fELI9QBIhP3wiLAp',$,$,$,$,$,$,$,$);
#3=IFCRELAGGREGATES('05rScmOVzMoQXOfbYdtLYj',$,$,$,#1,(#2));
-#4=IFCBUILDING('1hqIFTRjfV6AWq_bMtnZwI',$,$,$,$,$,$,$,$,$,$,$);
+#4=IFCSPACE('3Agm079vPIYBL4JExVrhD5',$,$,$,$,$,$,$,$,$,$);
#5=IFCRELCONTAINEDINSPATIALSTRUCTURE('0BbkGoC6vPvRW13UT7D8zH',$,$,$,(#1),#4);
-#10=IFCPROJECT('1eA6m4fELI9QBIhP3wiLAp',$,'TestProject',$,$,$,$,$,$);
-#11=IFCRELAGGREGATES('2eA6m4fELI9QBIhP3wiLAp',$,$,$,#10,(#4));
ENDSEC;
END-ISO-10303-21;
diff --git a/Documentation/testcases/partof/pass-the_container_must_be_related_using_specified_relation_1_2.ids b/Documentation/testcases/partof/pass-the_container_must_be_related_using_specified_relation_1_2.ids
deleted file mode 100644
index 6adf828..0000000
--- a/Documentation/testcases/partof/pass-the_container_must_be_related_using_specified_relation_1_2.ids
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
- The container must be related using specified relation 1/2
- Generated via code automation in the Ids Repository on github.
-
-
-
-
-
-
- IFCBEAM
-
-
-
-
-
-
-
- IFCSPACE
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Documentation/testcases/partof/pass-the_container_must_be_related_using_specified_relation_1_2.ifc b/Documentation/testcases/partof/pass-the_container_must_be_related_using_specified_relation_1_2.ifc
deleted file mode 100644
index 73d4c26..0000000
--- a/Documentation/testcases/partof/pass-the_container_must_be_related_using_specified_relation_1_2.ifc
+++ /dev/null
@@ -1,14 +0,0 @@
-ISO-10303-21;
-HEADER;
-FILE_DESCRIPTION(('ViewDefinition [CoordinationView]'),'2;1');
-FILE_NAME('','2022-10-07T13:48:44',(),(),'IfcOpenShell v0.7.0-dc67287d','IfcOpenShell v0.7.0-dc67287d','');
-FILE_SCHEMA(('IFC4'));
-ENDSEC;
-DATA;
-#1=IFCBEAM('0eA6m4fELI9QBIhP3wiLAp',$,$,$,$,$,$,$,$);
-#2=IFCSPACE('3Agm079vPIYBL4JExVrhD5',$,$,$,$,$,$,$,$,$,$);
-#3=IFCRELCONTAINEDINSPATIALSTRUCTURE('0BbkGoC6vPvRW13UT7D8zH',$,$,$,(#1),#2);
-#10=IFCPROJECT('1eA6m4fELI9QBIhP3wiLAp',$,'TestProject',$,$,$,$,$,$);
-#11=IFCRELAGGREGATES('2eA6m4fELI9QBIhP3wiLAp',$,$,$,#10,(#2));
-ENDSEC;
-END-ISO-10303-21;
diff --git a/Documentation/testcases/partof/pass-the_containment_can_be_indirect_1_2.ids b/Documentation/testcases/partof/pass-the_containment_can_be_indirect_1_2.ids
deleted file mode 100644
index 43e386d..0000000
--- a/Documentation/testcases/partof/pass-the_containment_can_be_indirect_1_2.ids
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
- The containment can be indirect 1/2
- Generated via code automation in the Ids Repository on github.
-
-
-
-
-
-
- IFCBEAM
-
-
-
-
-
-
-
- IFCBUILDING
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Documentation/testcases/partof/pass-the_containment_can_be_indirect_1_2.ifc b/Documentation/testcases/partof/pass-the_containment_can_be_indirect_1_2.ifc
deleted file mode 100644
index 418d81b..0000000
--- a/Documentation/testcases/partof/pass-the_containment_can_be_indirect_1_2.ifc
+++ /dev/null
@@ -1,16 +0,0 @@
-ISO-10303-21;
-HEADER;
-FILE_DESCRIPTION(('ViewDefinition [CoordinationView]'),'2;1');
-FILE_NAME('','2022-10-07T13:48:44',(),(),'IfcOpenShell v0.7.0-dc67287d','IfcOpenShell v0.7.0-dc67287d','');
-FILE_SCHEMA(('IFC4'));
-ENDSEC;
-DATA;
-#1=IFCSPACE('3Agm079vPIYBL4JExVrhD5',$,$,$,$,$,$,$,$,$,$);
-#2=IFCBEAM('0eA6m4fELI9QBIhP3wiLAp',$,$,$,$,$,$,$,$);
-#3=IFCRELAGGREGATES('05rScmOVzMoQXOfbYdtLYj',$,$,$,#1,(#2));
-#4=IFCBUILDING('1hqIFTRjfV6AWq_bMtnZwI',$,$,$,$,$,$,$,$,$,$,$);
-#5=IFCRELAGGREGATES('15rScmOVzMoQXOfbYdtLYj',$,$,$,#4,(#1));
-#10=IFCPROJECT('1eA6m4fELI9QBIhP3wiLAp',$,'TestProject',$,$,$,$,$,$);
-#11=IFCRELAGGREGATES('2eA6m4fELI9QBIhP3wiLAp',$,$,$,#10,(#4));
-ENDSEC;
-END-ISO-10303-21;
diff --git a/Documentation/testcases/scripts.md b/Documentation/testcases/scripts.md
index 3f0481c..a8f095e 100644
--- a/Documentation/testcases/scripts.md
+++ b/Documentation/testcases/scripts.md
@@ -1704,42 +1704,15 @@ Requirements:
PartOf: Pattern(''.*''),IFCRELCONTAINEDINSPATIALSTRUCTURE
```
-### The container must be related using specified relation 1/2
+### The container may be indirect
-``` ids partof/pass-the_container_must_be_related_using_specified_relation_1_2.ids
-The container must be related using specified relation 1/2
+``` ids partof/pass-the_container_may_be_indirect.ids
+The container may be indirect
Entity: ''IFCBEAM''
Requirements:
PartOf: ''IFCSPACE'',IFCRELCONTAINEDINSPATIALSTRUCTURE
```
-### The container must be related using specified relation 2/2
-
-``` ids partof/fail-the_container_must_be_related_using_specified_relation_2_2.ids
-The container must be related using specified relation 2/2
-Entity: ''IFCBEAM''
-Requirements:
-PartOf: ''IFCSPACE'',IFCRELCONTAINEDINSPATIALSTRUCTURE
-```
-
-### The containment can be indirect 1/2
-
-``` ids partof/pass-the_containment_can_be_indirect_1_2.ids
-The containment can be indirect 1/2
-Entity: ''IFCBEAM''
-Requirements:
-PartOf: ''IFCBUILDING'',IFCRELAGGREGATES
-```
-
-### The containment can be indirect 2/2
-
-``` ids partof/fail-the_containment_can_be_indirect_2_2.ids
-The containment can be indirect 2/2
-Entity: ''IFCBEAM''
-Requirements:
-PartOf: ''IFCBUILDING'',IFCRELAGGREGATES
-```
-
### The container predefined type must match exactly 1/2
``` ids partof/fail-the_container_predefined_type_must_match_exactly_1_2.ids