@Test
 public void simpleSearchForShardPids() throws Exception {
   DOMSMetadataExtractor extractor = new DOMSMetadataExtractor(properties);
   List<String> result = extractor.fetchAllShardPids();
   assertTrue("Expecting at least 1 pid.", result.size() > 0);
   String uuid = result.get(0);
   assertEquals("First pid expected to be a specific!", shardUuid, uuid);
 }
 @Test
 public void extractProgramMetadata() throws Exception {
   DOMSMetadataExtractor extractor = new DOMSMetadataExtractor(properties);
   List<String> shardPids = new ArrayList<String>();
   // shardPids.add("uuid:d93054ed-858d-4b2a-870e-b929f5352ad6");
   shardPids.add(shardUuid);
   List<ProgramSearchResultItem> result =
       extractor.fetchRadioProgramMetadataFromShardPids(shardPids, true);
   Program program = result.get(0).getProgram();
   log.debug("Found metadata of program: " + program);
   assertEquals("Flykatastrofer", program.getPbcoreProgramMetadata().titel);
 }