@Test
public void testClearBlocks() {

  INodeFile toBeCleared = createINodeFiles(1, "toBeCleared")[0];
  assertEquals(1, toBeCleared.getBlocks().length);
  toBeCleared.clearBlocks();
  assertTrue(toBeCleared.getBlocks().length == 0);
}