@Test
public void extractAllReferencesStringArticles2() {

	ReferenceExtractor extractor = new ReferenceExtractor();
	List<PatentItem> patents = new ArrayList<PatentItem>();
	List<BibDataSet> articles = new ArrayList<BibDataSet>();
	extractor
			.extractAllReferencesString(
					"That article It refers to Economic Development Quarterly November 2011 25: 353-365," + 
					" first published on August 25, 2011.",
					false, 0, false, patents, articles);
	LOGGER.info("BibDataSet: " + articles.toString());
	assertEquals(0, patents.size());
	assertEquals(1, articles.size());
	List<Integer> offsets = articles.get(0).getOffsets();
	int startOffset = -1;
	int endOffset = -1;
	String rawBib = articles.get(0).getRawBib();
	if (!offsets.isEmpty() && offsets.get(0) != null) {
		startOffset = offsets.get(0).intValue();
		StringTokenizer stt = new StringTokenizer(rawBib, delimiters, true);
		int count2 = 0;
		int charCpt = 0;
		String token2;
		while (stt.hasMoreTokens()) {
			token2 = stt.nextToken();
			if (token2.trim().length() != 0) {
				count2++;
			}
			charCpt += token2.length();
			System.err.println(token2 + "   count=" + count2
					+ "   charCpt=" + charCpt);
		}
		endOffset = startOffset + count2;
		System.out.println("RawBib=" + rawBib);
		System.out.println("Start=" + startOffset + "   offset=" + count2
				+ "   end=" + endOffset);
	}
	LOGGER.info(articles.get(0).getOffsets().toString());
}