add java threading test