Added test for dictionaries in metadata