BinaySearch with unittest