added coverage for metadata