logging and caching testing