@Test
public void testPreparationInitialContent() throws Exception {

    // given
    final String preparationId =
            testClient.createPreparationFromFile("dataset/dataset.csv", "testPreparationContentGet", home.getId());
    final InputStream expected =
            PreparationAPITest.class.getResourceAsStream("dataset/expected_dataset_with_columns.json");
    // when
    final String content = testClient.getPreparation(preparationId).asString();
    // then
    assertThat(content, sameJSONAsFile(expected));
}