refactoring SimpleDictionary unit