For #6 got minimalmetadatawriter tests passing