added code to test java-python connection