Tests forMetadata