Replaces hierarchical context runner with java-spec