@Test
public void testMalformed() {

    String text = FileUtils.toString(getClass().getResourceAsStream("malformed.txt"));
    try {
        Object o = JsonUtils.toJsonDocStrict(text);
        fail("we should not have reached here");
    } catch (Exception e) {
        assertTrue(e.getCause() instanceof ParseException);
    }
}