@Test
public void testQuotesAndCarriageReturn() throws Exception {

    String dataSetId = given()
            .body(IOUtils.toString(this.getClass().getResourceAsStream("../bands_quotes_and_carriage_return.csv"),
                    UTF_8))
            .queryParam(CONTENT_TYPE, "text/csv")
            .when()
            .post("/datasets")
            .asString();
    assertQueueMessages(dataSetId);
    InputStream content = when().get("/datasets/{id}/content?metadata=false", dataSetId).asInputStream();
    String contentAsString = IOUtils.toString(content, UTF_8);
    InputStream expected = this.getClass().getResourceAsStream("../test_quotes_and_carriage_return.json");
    assertThat(contentAsString, sameJSONAsFile(expected));
}