test for one element search written but not passing