jni test modified, more realistic function call. get strange results now...