Add/test persistent dictionary functionality