Collecting StructureTest instances from RecDef for testing documents.