Initial DocumentMetadata implementation and test