added a test case to BinarySearchTest.java