initialize: add test for ParseMetadata