tests for jni methods with compile script