@Override
 public void doFinish(TestCase tc, JCRTestContext context) throws Exception {
   super.doFinish(tc, context);
   // clear all children
   registryService.getRegistry(sessionProvider).getNode().remove();
   context.getSession().save();
 }