JNI Test Framework