jni bit flip test modified