minimal end to end with py4j