tested the binary search
finished binary search tests