add:test code for jni