some test for JNI