[CacheBundle] Improve unit test