Program: 4850
Project: 4850
Buggy source:
public void testSerialized(){
  createFiles();
  populateDirectory();
  LimeXMLReplyCollection audioCollection=new LimeXMLReplyCollection(files,schemaURI,mfm,audio);
  LimeXMLReplyCollection videoCollection=new LimeXMLReplyCollection(files,schemaURIVideo,mfm,!audio);
  Assert.assertTrue("String_Node_Str" + audioCollection.getCount(),(audioCollection.getCount() == 2));
  Assert.assertTrue("String_Node_Str" + videoCollection.getCount(),(videoCollection.getCount() == 2));
  LimeXMLDocument doc=null;
  doc=audioCollection.getDocForHash(mfm.readFromMap(mason));
  Assert.assertTrue("String_Node_Str",doc == null);
  doc=audioCollection.getDocForHash(mfm.readFromMap(vader));
  Assert.assertTrue("String_Node_Str",doc != null);
  doc=audioCollection.getDocForHash(mfm.readFromMap(swing));
  Assert.assertTrue("String_Node_Str",doc != null);
  doc=videoCollection.getDocForHash(mfm.readFromMap(mason));
  Assert.assertTrue("String_Node_Str",doc != null);
  doc=videoCollection.getDocForHash(mfm.readFromMap(vader));
  Assert.assertTrue("String_Node_Str",doc == null);
  doc=videoCollection.getDocForHash(mfm.readFromMap(swing));
  Assert.assertTrue("String_Node_Str",doc != null);
  List keywords=audioCollection.getKeyWords();
  Assert.assertTrue("String_Node_Str" + keywords.size(),(keywords.size() == 4));
  Assert.assertTrue("String_Node_Str",(keywords.contains("String_Node_Str") && keywords.contains("String_Node_Str") && keywords.contains("String_Node_Str")&& keywords.contains("String_Node_Str")));
  keywords=videoCollection.getKeyWords();
  Assert.assertTrue("String_Node_Str" + keywords.size(),(keywords.size() == 4));
  Assert.assertTrue("String_Node_Str",(keywords.contains("String_Node_Str") && keywords.contains("String_Node_Str") && keywords.contains("String_Node_Str")&& keywords.contains("String_Node_Str")));
  clearDirectory();
}

Fixed version (ground truth):
public void testSerialized(){
  createFiles();
  populateDirectory();
  LimeXMLReplyCollection audioCollection=new LimeXMLReplyCollection(files,schemaURI,mfm,audio);
  LimeXMLReplyCollection videoCollection=new LimeXMLReplyCollection(files,schemaURIVideo,mfm,!audio);
  Assert.assertTrue("String_Node_Str" + audioCollection.getCount(),(audioCollection.getCount() == 2));
  Assert.assertTrue("String_Node_Str" + videoCollection.getCount(),(videoCollection.getCount() == 2));
  LimeXMLDocument doc=null;
  doc=audioCollection.getDocForHash(mfm.readFromMap(mason));
  Assert.assertTrue("String_Node_Str",doc == null);
  doc=audioCollection.getDocForHash(mfm.readFromMap(vader));
  Assert.assertTrue("String_Node_Str",doc != null);
  doc=audioCollection.getDocForHash(mfm.readFromMap(swing));
  Assert.assertTrue("String_Node_Str",doc != null);
  doc=videoCollection.getDocForHash(mfm.readFromMap(mason));
  Assert.assertTrue("String_Node_Str",doc != null);
  doc=videoCollection.getDocForHash(mfm.readFromMap(vader));
  Assert.assertTrue("String_Node_Str",doc == null);
  doc=videoCollection.getDocForHash(mfm.readFromMap(swing));
  Assert.assertTrue("String_Node_Str",doc != null);
  List keywords=audioCollection.getKeyWords();
  Assert.assertTrue("String_Node_Str" + keywords.size(),(keywords.size() == 6));
  Assert.assertTrue("String_Node_Str",(keywords.contains("String_Node_Str") && keywords.contains("String_Node_Str") && keywords.contains("String_Node_Str")&& keywords.contains("String_Node_Str")&& keywords.contains("String_Node_Str")&& keywords.contains("String_Node_Str")));
  keywords=videoCollection.getKeyWords();
  Assert.assertTrue("String_Node_Str" + keywords.size(),(keywords.size() == 4));
  Assert.assertTrue("String_Node_Str",(keywords.contains("String_Node_Str") && keywords.contains("String_Node_Str") && keywords.contains("String_Node_Str")&& keywords.contains("String_Node_Str")));
  clearDirectory();
}