test save cache to disk