// delete all
esSetup.execute(deleteAll());
esSetup.client().admin().cluster().prepareHealth().setWaitForGreenStatus().execute().actionGet();
// run restore without pyload relative directory
ImportResponse response = executeRestoreRequest("");
List<Map<String, Object>> imports = getImports(response);
assertEquals(2, imports.size());
assertTrue(existsWithField("1", "name", "item1", "users", "d"));
assertTrue(existsWithField("2", "name", "item2", "users", "d"));