bugfix, the Array.binarySearch doesn't return -1 always if a method is not translatable
improved test