    @Test
    public void testTransform() throws Exception {

        File reference = findAndCopy("outputs/" + fInput + "_" + fTransform
                + "." + fFormat);
        Response response = doRequest(fInput, fTransform, fFormat,
                mapContentType(fFormat));
        File output = EngineTestUtils.outputFile();
        try (FileOutputStream oStream = new FileOutputStream(output)) {
            IOUtils.copy(response.asInputStream(), oStream);
        }
        assertEquals(reference, output, mapContentType(fFormat));
    }