Add metadataShare with passing tests