fix #2939 set up of cacheManager in test applicationContext