Adding cache manager tests