Improve the SubdivisionRepository tests.
Move the shared repository translateDefinition() method to a trait, add test coverage.
AddressFormatRepositoryTest cleanup.