@Test
public void getWithMalformedFilterShouldFail() throws Exception {

    final String dataSetId = createCSVDataSet(this.getClass().getResourceAsStream("../avengers.csv"),
            "dataset with malformed filter");
    Response response = given()
            .queryParam("metadata", "true")
            .queryParam("filter", "((0001 = 'Mike Albergo (Earth-616') or (0001 = 'Bardak (ExdsadsaSarth-616)'")
            .get("/datasets/{id}/content", dataSetId);
    assertEquals(400, response.statusCode());
    assertTrue(response.jsonPath().get("code").toString().contains(BaseErrorCodes.UNABLE_TO_PARSE_FILTER.name()));
}