@Test
public void uploadAndGetBlob() throws IOException {
Map<String,File> files = new HashMap<String, File>();
files.put("image", new File("test/googlelogo.png"));
Response response = POST("/image", Collections.<String, String>emptyMap(), files);
assertIsOk(response);
String id = getContent(response);
Response imageResp = GET("/image/" + id);
assertIsOk(imageResp);
String responseMd5 = DigestUtils.md5Hex(imageResp.out.toByteArray());
assertEquals(actualMd5, responseMd5);
}