test for java-python comparison written