Adding test for dictionaries