moved MetadataConnector test to metadata package