Fixed #21029: Test for previously-commited SchemaEditor.__exit__ bug.
Project/ModelState now correctly serialize multi-model inheritance