fixed string cache persistence, add string cache persistence test