java and python test