public void testEntityLookup() throws IOException, JSONException {
String uri = "http://dbpedia.org/resource/Paris";
//first check that lookup without create returns 404
RequestExecutor re = executor.execute(builder.buildGetRequest(
"/entityhub/lookup", "id",uri));
re.assertStatus(404);
//Now check that lookup with create does work
re = executor.execute(builder.buildGetRequest(
"/entityhub/lookup", "id",uri,"create","true"));
re.assertStatus(200);
JSONObject entity = assertEntity(re.getContent(), null, "entityhub");