Metadata extractor split into library and test project