@Test
public void extractAllReferencesStringArticles() {

	ReferenceExtractor extractor = new ReferenceExtractor();
	List<PatentItem> patents = new ArrayList<PatentItem>();
	List<BibDataSet> articles = new ArrayList<BibDataSet>();
	String toExtract = "Some other description includes ref. US 2011/0155847 A1 in aerodynamic" + 
		" and applied physics. " +
           "This patent, ref. US 7930197 says data mining of personal data is patented. " +
           "That article refers to Economic Development Quarterly November 2011 25: 353-365, first" + 
		" published on August 25, 2011.";
	GrobidTimer timer = new GrobidTimer(true);
	extractor.extractAllReferencesString(toExtract, false, 0, false, patents, articles);
	timer.stop("STOP");
	System.out.println(timer.getElapsedTimeFromStartFormated("STOP"));
	LOGGER.info("BibDataSet: " + articles.toString());
	assertEquals(2, patents.size());
	assertEquals(1, articles.size());
	LOGGER.info(articles.get(0).getOffsets().toString());
}