c2.runBackgroundOperations();
//Refresh the head for c1
refreshHead(c1);
InvalidationResult result = CacheInvalidator.createHierarchicalInvalidator(ds(c1)).invalidateCache();
//Only 2 entries /a and /a/d would be invalidated
// '/' would have been added to cache in start of backgroundRead
//itself
assertEquals(2, result.invalidationCount);