Modified destroyDictionary function and test again with travis