Added test of Java native binary search