added binary search test