updated caching unit tests