Add more test cases for binary search