@Test
public void testReset() throws Exception {

  fsdir.reset();
  Assert.assertFalse(fsdir.isReady());
  final INodeDirectory root = (INodeDirectory) fsdir.getINode("/");
  Assert.assertTrue(root.getChildrenList(Snapshot.CURRENT_STATE_ID).isEmpty());
  fsdir.imageLoadComplete();
  Assert.assertTrue(fsdir.isReady());
}