@Test
public void testUnusualFromAddress() throws Exception {

    Metadata metadata = new Metadata();
    InputStream stream = getStream("test-documents/testRFC822_oddfrom");
    ContentHandler handler = mock(DefaultHandler.class);
    EXTRACT_ALL_ALTERNATIVES_PARSER.parse(stream, handler, metadata, new ParseContext());
    assertEquals("Saved by Windows Internet Explorer 7",
            metadata.get(TikaCoreProperties.CREATOR));
    assertEquals("Air Permit Programs | Air & Radiation | US EPA",
            metadata.get(TikaCoreProperties.TITLE));
    assertEquals("Air Permit Programs | Air & Radiation | US EPA",
            metadata.get(TikaCoreProperties.SUBJECT));
}