@Test
 public void testRemoves() throws IOException {
   final String name = "testRemoves";
   FileSystem fs = FileSystem.get(UTIL.getConfiguration());
   // Cleanup old tests if any detrius laying around.
   Path rootdir = new Path(UTIL.getDataTestDir(), name);
   TableDescriptors htds = new FSTableDescriptors(fs, rootdir);
   HTableDescriptor htd = new HTableDescriptor(name);
   htds.add(htd);
   assertNotNull(htds.remove(htd.getNameAsString()));
   assertNull(htds.remove(htd.getNameAsString()));
 }