Add negative unit testing to search functions

Check that search functions return -1 if item not present.  Correction
to binary search implementation to pass this test.