final CoverageSource source = access.access(TEST_NAME, null, AccessType.READ_ONLY, null,
null);
// Minor checks on the metadata node and attributes
MetadataNode metadata = source.getMetadata(null, null);
assertNotNull(metadata);
Map<String, MetadataAttribute> attributes = metadata.getAttributes();
assertNotNull(attributes);
assertTrue(!attributes.isEmpty());
MetadataAttribute metadataAttribute = attributes.get("testAttribute");
assertNotNull(metadataAttribute);
assertNotNull(metadata.getNodes());
}