@Test
public void getInstanceDetailsTest() {

    Response response = target().path("explorable-datasets/" + encode(RECORD_ID_STR) + "/classes/"
            + encode(CLASS_ID_STR) + "/instance-details").request().get();
    assertEquals(response.getStatus(), 200);
    JSONArray responseArray = JSONArray.fromObject(response.readEntity(String.class));
    assertEquals(responseArray.size(), 13);
    assertEquals(response.getHeaders().get("X-Total-Count").get(0), "13");
}