@Test
public void testSmallFileInsert() {

    Dataset dataSet = getMarkLogicDatasetGraph("testdata/smallfile.nt")
            .toDataset();
    Query query = QueryFactory
            .create("select (count(?s) as ?ct) where { ?s ?p ?o }");
    QueryExecution execution = QueryExecutionFactory.create(query, dataSet);
    ResultSet results = execution.execSelect();
    int i;
    for (i = 0; results.hasNext(); i++) {
        results.next();
    }
    assertEquals("One triple inserted", 1, i);
}