Add setDictionary Unit Tests