How about some tests around the addition of schema_version? For instance that the schema version is recorded when a new document is created, that it gets copied over in update_definition_from_data, etc.