@Test public void testNormalisesText() {

    String h = "<p>Hello<p>There.</p> \n <p>Here <b>is</b> \n s<b>om</b>e text.";
    Document doc = Jsoup.parse(h);
    String text = doc.text();
    assertEquals("Hello There. Here is some text.", text);
}