Bringing LayerTest.java to jaggr-core