@Test
public void testTika() throws TikaException, IOException {

	Buffer buffer = getBuffer("/testfiles/test.pdf");
	byte[] data = buffer.getBytes();
	Metadata metadata = new Metadata();
	int limit = 10000;
	String content = DocumentTikaParser.parse(new ByteArrayInputStream(data), metadata, limit).get();
	System.out.println(content);
	System.out.println(metadata.toString());
}