Added test for getDictionaries and getDictionaryNames