Added FetchMetadata test case