added a unit test and initial test data. fixed search problem