EZP-20321: Reintroduced MetadataHandler
EZP-20321: Added tests for getMetadata