@Test
public void testBackwardCompatibility() {

    String json = " { 'staticHeaders': {" +
            " 'x-expire-after': 900," +
            " 'Content-Type': 'application/json'" +
            "} }";
    json = json.replace('\'', '"');
    Buffer jsonBuffer = Buffer.buffer(json);
    CopyTask copyTask = copyResourceHandler.createCopyTask(httpServerRequestMock, jsonBuffer);
    Assert.assertEquals("900", copyTask.getHeaders().get("x-expire-after"));
    Assert.assertEquals("application/json", copyTask.getHeaders().get("Content-Type"));
}