@Test
public void readLayerFile() throws Exception {

    // direct from root as the new way with no expectation
    assertEquals("layers", readFileAsJSON("/json/layers/layer.json").optString("name"));
    assertEquals("root", readFileAsJSON("/test.json").optString("name"));
    // for older "assumed path" /json/layers
    JSONObject layer = readFileAsJSON("layer.json");
    assertEquals("layers", layer.optString("name"));
}