@Test
public void testEstonia() throws Exception {

    final String estonian = "et";
    ProfilingWriter writer = new ProfilingWriter();
    writeTo(estonian, writer);
    LanguageIdentifier identifier =
        new LanguageIdentifier(writer.getProfile());
    assertEquals(estonian, identifier.getLanguage());
}