update javatests
fix #9