Add a test for dictionaries