test jni & ruby eigenclass