MetadataManager tests are now complete

Added implementation for the remaining tests.