remove old test-jni function
lots of updates