db caching test