First round of tests for MetadataManager