finished binary search testing