@Test
public void test_TDP_2546() throws Exception {

    // given a created dataset
    final String datasetOriginalName = "testDataset";
    final String dataSetId = testClient.createDataset("dataset/dataset_TDP-2546.csv", datasetOriginalName);
    // then, the content should include technical properties when asked.
    String defaultDataSetContent =
            given().queryParam("metadata", true).get("/api/datasets/{dataSetId}", dataSetId).asString();
    assertThat(defaultDataSetContent.contains("__tdp"), is(false));
    String dataSetContent = given() //
            .queryParam("metadata", true) //
            .queryParam("includeTechnicalProperties", false) //
            .get("/api/datasets/{dataSetId}", dataSetId) //
            .asString();
    assertThat(dataSetContent.contains("__tdp"), is(false));
    String dataSetContentWithTechnicalContent = given() //
            .queryParam("metadata", true) //
            .queryParam("includeTechnicalProperties", true) //
            .get("/api/datasets/{dataSetId}", dataSetId) //
            .asString();
    assertThat(dataSetContentWithTechnicalContent.contains("__tdp"), is(true));
}