added official test metadata-compression-001
adapted implementation