done: search and its junit test