JCR-2293 : Some unit tests fail when the cache is disabled