add some test: re-open the store after you've closed it and test whether stuff gets written to disk after the caching period expires